﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QingzimaDB;

namespace QingzimaLogicModel
{
   public class SongshuiyuanLM:JichuLM
    {
        #region 属性区
        public string Xingming { get; set; }
        #endregion

        #region 构造区
        public SongshuiyuanLM()
        {

        }

        public SongshuiyuanLM(SongshuiyuanDB dbModel)
        {
            ID = dbModel.ID;
            Key = dbModel.Key;
            CreatedTime = dbModel.CreatedTime;
            Xingming = dbModel.Xingming;
        }
        #endregion

        #region 方法区
        public void Save()
        {
            SongshuiyuanDB dbModel = new SongshuiyuanDB();
            dbModel.ID = ID;
            dbModel.Key = Key;
            dbModel.CreatedTime = CreatedTime;
            dbModel.Xingming = Xingming;
            dbModel.Save();
        }
        #endregion
    }
}
